.page-login {
  height: calc(100vh);
  min-height: 400px;
  display: flex;
  background: url(../../assets/login.jpg) no-repeat center center;
  background-size: cover;

  .ant-form-item-control-input-content {
    display: flex;
    justify-content: space-between;
  }

  .page-login-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 25px;
    font-weight: bold;
  }

  .canvasBox {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .loginBox {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 400px;
    height: 430px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #d1dfec;
    transform: scale(1.2, 1.2);
    opacity: 0;
    transition: all 300ms;
    background-color: rgba(255, 255, 255, 0.4);

    &.show {
      transform: scale(1, 1);
      opacity: 1;
    }

    // 输入框样式问题
    // .ant-form-item-with-help {
    //   &.ant-form-item-has-error {
    //     margin-bottom: 0;
    //   }
    // }
    // .ant-form-item-with-help {
    //   &.ant-form-item-has-success {
    //     margin-bottom: 24px;
    //   }
    // }

    .title {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 40px;
      font-size: 36px;
      font-weight: 600;
      color: #fff;
      letter-spacing: 1px;

      img {
        height: 56px;
        margin-right: 10px;
      }
    }

    .vcode {
      float: right;
      border: solid 1px #d9d9d9;
      border-radius: 4px;
    }

    .remember {
      color: #fff;
    }

    .submit-btn {
      margin: 0 auto;
      text-align: center;
      width: 270px;
    }
  }

  .login-back {
    width: 100%;
    height: 100%;
    position: fixed;
    bottom: 0;
    z-index: -1;

    canvas {
      width: 100%;
      height: 100%;
    }
  }
}
// 有效期提示弹窗
.validate-modal {
  background: #fffbe6;
}
